<?php include($folder.'/layouts/templates/frontend/header.tpl') ?>
<script type="text/javascript">
$(function() {
	$(".galleryImage").hover(
		function() {
			$(this).stop()
			$(this).fadeTo(2000, 0.2)
		},
		function() {
			$(this).stop()
			$(this).fadeTo(2000, 1)
		}
	)
})
</script>
<?php include($folder.'/layouts/templates/frontend/middle.tpl') ?>
<br />
<center>
<?php echo paginator(array(
	'id' => 'main',
	'selectCountMethod' => 'kepgaleria_select_count',
	'parameters' => array($_GET['id']),
	'itemsPerPageAll' => array(4,6,12,24,48),
	'itemsPerPage' => 6 )) ?>
</center>
<div style="width:100%" align="center">
<?php echo dataList(array(
	'columnCount' => 2, 
	'tdAttributes' => 'style="width:50%;padding-top:20px;padding-bottom:20px" align="center"',
	'cellTemplate' =>
		'<a href="{hyperLink}"><img class="galleryImage" src="'.$prefix.'/kep-kicsi?id={pictureID}" style="border-width:0px" title="{text}" alt="{text}"></a>', 
	'id' => 'main',
	'tableAttributes' => 'cellspacing="30"',
	'itemsPerPage' => 6,
	'selectMethod' => 'kepgaleria_select',
	'parameters' => array($_GET['id']))) ?>
</div>
<?php include($folder.'/layouts/templates/frontend/footer.tpl') ?>